﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Records.ascx.cs" Inherits="blackhouse.WebNemo.Web.Controls.Records" %>
<%--<script src="/Scripts/nemo.grouplisting.js" type="text/javascript"></script>--%>
<asp:HiddenField runat="server" ID="groupId" ClientIDMode="Static" />

<asp:Panel runat="server" ID="pnlRecords">

    <%--<asp:Repeater runat="server" ID="rptRecords" OnItemDataBound="rptRecords_ItemDataBound">
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0" id="records">
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>

                <td class="field-check">
                    <input type="<asp:Literal runat="server" ID="checkType">checkbox</asp:Literal>" name="selected-record" value="<%#Eval("RecordId") %>" <%if(this.AllChecked){ %>checked="checked"<%} %> />
                </td>
                <td class="field-id">
                    <%#Eval("RecordId") %>
                </td>
                <td class="field-set">
                    <div class="bnt-set">
                        <div class="bnt-set-i bnt-set-start"><asp:HyperLink ID="lnkDisplay" runat="server" CssClass="ui-icon-black ui-prev" ToolTip="Podgląd"></asp:HyperLink></div>
                        <div class="bnt-set-i bnt-set-mid"><asp:HyperLink  ID="lnkEdit" runat="server" CssClass="ui-icon-black ui-edit" ToolTip="Edytuj"></asp:HyperLink></div>
                        <div class="bnt-set-i bnt-set-stop"><a class="ui-icon-black bnt-end ui-del" recordId="<%#Eval("RecordId") %>" title="Usuń"></a></div>
                        
                    </div>
                </td>
                <td class="field-identyficator">
                    <asp:HyperLink runat="server" ID="lnkIdent"></asp:HyperLink>
                </td>
                <td class="field-time">
                    <asp:HyperLink runat="server" ID="lnkTime"></asp:HyperLink>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody> </table>
        </FooterTemplate>
    </asp:Repeater>--%>
</asp:Panel>
<asp:Panel runat="server" ID="pnlNoRecords" CssClass="content-message">
Słownik jest pusty!
<br />
<div class="content-message-tp">Prawdopodobnie chciałbyś dodać nowy rekord? Śmiało - <asp:HyperLink runat="server" ID="lnkToAddNew" CssClass="blue-href">Dodaj nowy rekord</asp:HyperLink></div>
</asp:Panel>